package com.kayang.webapi.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * skyDataWebAPIs_log
 */
public class WebAPILog implements Serializable {
	private static final long serialVersionUID = -4433806182344426483L;
	private int id;
	private int funcid;
	private int urid;
	private String opdata;
	private Date optime;
	private int opstate;
	private String optext;
	private String hostname;
	private String localuser;
	private Date xtime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getFuncid() {
		return funcid;
	}

	public void setFuncid(int funcid) {
		this.funcid = funcid;
	}

	public int getUrid() {
		return urid;
	}

	public void setUrid(int urid) {
		this.urid = urid;
	}

	public String getOpdata() {
		return opdata;
	}

	public void setOpdata(String opdata) {
		this.opdata = opdata;
	}

	public Date getOptime() {
		return optime;
	}

	public void setOptime(Date optime) {
		this.optime = optime;
	}

	public int getOpstate() {
		return opstate;
	}

	public void setOpstate(int opstate) {
		this.opstate = opstate;
	}

	public String getOptext() {
		return optext;
	}

	public void setOptext(String optext) {
		this.optext = optext;
	}

	public String getHostname() {
		return hostname;
	}

	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	public String getLocaluser() {
		return localuser;
	}

	public void setLocaluser(String localuser) {
		this.localuser = localuser;
	}

	public Date getXtime() {
		return xtime;
	}

	public void setXtime(Date xtime) {
		this.xtime = xtime;
	}


	@Override
	public String toString() {
		return "WebAPILog{" +
				"id=" + id +
				", funcid=" + funcid +
				", urid=" + urid +
				", opdata='" + opdata + '\'' +
				", optime=" + optime +
				", opstate=" + opstate +
				", optext='" + optext + '\'' +
				", hostname='" + hostname + '\'' +
				", localuser='" + localuser + '\'' +
				", xtime=" + xtime +
				'}';
	}
}
